import { getAction, deleteAction, putAction, putparamsAction, postAction, httpAction } from '@/api/manage'
const salaryList = (params) => postAction('/salary/statistics/salaryList', params) // 列表
const salarySum = (params) => postAction('/salary/statistics/salarySum', params) // 汇总
const salaryExport = (params) => postAction('/salary/statistics/salaryExport', params) // 导出列表
const salaryDetailList = (params) => postAction('/salary/statistics/detailList', params) // 工资详情列表
const orderList = (params) => postAction('/salary/statistics/orderList', params) // 工单成本列表
const orderSum = (params) => postAction('/salary/statistics/orderSum', params) // 工单成本汇总
const dataSummaryList = (params) => postAction('/salary/statistics/dataList', params) // 数据汇总列表
const dataSummaryData = (params) => postAction('/salary/statistics/dataSum', params) // 数据汇总数据


export const salaryApi = {
  salaryList,
  salarySum,
  salaryExport,
  salaryDetailList,
  orderList,
  orderSum,
  dataSummaryList,
  dataSummaryData
}